SRCTEX=$(wildcard *.tex)

MAIN=main

all: arduino.pdf mm.pdf  lustre.pdf 


%.pdf: $(SRCTEX) # references.bib
	latexmk -pdf $*



clean:
	rm -f *.o *.aux *.log *.out *.bbl *.toc *.pdf *.blg *.dvi *~ *.fls *_latexmk *.spl *.ilg *.ind *.idx *.nav *.snm
